home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / treevwx / tvx3demo.exe / data.1 / pvtreeview3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-18  |  4.7 KB  |  150 lines

  1. #if !defined(AFX_PVTREEVIEW3_H__162C4C31_36E1_11D2_9B3B_00400561D975__INCLUDED_)
  2. #define AFX_PVTREEVIEW3_H__162C4C31_36E1_11D2_9B3B_00400561D975__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12.  
  13. // Dispatch interfaces referenced by this interface
  14. class COleFont;
  15. class CPVIBranch;
  16. class CPicture;
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CPVTreeView3 wrapper class
  20.  
  21. class CPVTreeView3 : public CWnd
  22. {
  23. protected:
  24.     DECLARE_DYNCREATE(CPVTreeView3)
  25. public:
  26.     CLSID const& GetClsid()
  27.     {
  28.         static CLSID const clsid
  29.             = { 0xdb625b9a, 0x5ea, 0x11d2, { 0x97, 0xdd, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
  30.         return clsid;
  31.     }
  32.     virtual BOOL Create(LPCTSTR lpszClassName,
  33.         LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect,
  35.         CWnd* pParentWnd, UINT nID,
  36.         CCreateContext* pContext = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  38.  
  39.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  40.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  41.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  42.         BSTR bstrLicKey = NULL)
  43.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  44.         pPersist, bStorage, bstrLicKey); }
  45.  
  46. // Attributes
  47. public:
  48.     OLE_COLOR GetBackColor();
  49.     void SetBackColor(OLE_COLOR);
  50.     BOOL GetEnabled();
  51.     void SetEnabled(BOOL);
  52.     COleFont GetFont();
  53.     void SetFont(LPDISPATCH);
  54.     OLE_COLOR GetForeColor();
  55.     void SetForeColor(OLE_COLOR);
  56.     OLE_HANDLE GetHWnd();
  57.     void SetHWnd(OLE_HANDLE);
  58.     short GetAppearance();
  59.     void SetAppearance(short);
  60.     short GetBorderStyle();
  61.     void SetBorderStyle(short);
  62.     long GetSelectMode();
  63.     void SetSelectMode(long);
  64.     BOOL GetSort();
  65.     void SetSort(BOOL);
  66.     BOOL GetUseTabStops();
  67.     void SetUseTabStops(BOOL);
  68.     BOOL GetIntegralHeight();
  69.     void SetIntegralHeight(BOOL);
  70.     BOOL GetMultiColumn();
  71.     void SetMultiColumn(BOOL);
  72.     BOOL GetEnableMicroBitmaps();
  73.     void SetEnableMicroBitmaps(BOOL);
  74.     BOOL GetEnableBitmaps();
  75.     void SetEnableBitmaps(BOOL);
  76.     BOOL GetEnableLines();
  77.     void SetEnableLines(BOOL);
  78.     BOOL GetAutoOpen();
  79.     void SetAutoOpen(BOOL);
  80.     short GetHorizontalExtent();
  81.     void SetHorizontalExtent(short);
  82.     BOOL GetProportionalScrollBars();
  83.     void SetProportionalScrollBars(BOOL);
  84.     BOOL GetAlwaysShowSelection();
  85.     void SetAlwaysShowSelection(BOOL);
  86.     long GetMultiColumnStyle();
  87.     void SetMultiColumnStyle(long);
  88.     short GetColumnWidth();
  89.     void SetColumnWidth(short);
  90.     short GetNumberOfColumns();
  91.     void SetNumberOfColumns(short);
  92.     BOOL GetUseStateBitmaps();
  93.     void SetUseStateBitmaps(BOOL);
  94.     long GetStandardDefaultPicture();
  95.     void SetStandardDefaultPicture(long);
  96.     short GetIndent();
  97.     void SetIndent(short);
  98.     BOOL GetAllowInPlaceEditing();
  99.     void SetAllowInPlaceEditing(BOOL);
  100.     BOOL GetEnableToolTips();
  101.     void SetEnableToolTips(BOOL);
  102.     unsigned long GetToolTipBackColor();
  103.     void SetToolTipBackColor(unsigned long);
  104.     unsigned long GetSelectedTextBackColor();
  105.     void SetSelectedTextBackColor(unsigned long);
  106.     unsigned long GetSelectedTextForeColor();
  107.     void SetSelectedTextForeColor(unsigned long);
  108.     unsigned long GetLineColor();
  109.     void SetLineColor(unsigned long);
  110.     BOOL GetRedraw();
  111.     void SetRedraw(BOOL);
  112.     CPVIBranch GetBranches();
  113.     void SetBranches(LPDISPATCH);
  114.     short GetTabPointCount();
  115.     void SetTabPointCount(short);
  116.     long GetCount();
  117.     void SetCount(long);
  118.     long GetVisibleCount();
  119.     void SetVisibleCount(long);
  120.     CPicture GetCustomDefaultPicture();
  121.     void SetCustomDefaultPicture(LPDISPATCH);
  122.     LPUNKNOWN GetDataSource();
  123.     void SetDataSource(LPUNKNOWN);
  124.     CString GetDataMember();
  125.     void SetDataMember(LPCTSTR);
  126.  
  127. // Operations
  128. public:
  129.     void ClearTabStops();
  130.     CPVIBranch Find(long relationship, LPDISPATCH relative, LPCTSTR Text);
  131.     void BeginInPlaceEdit();
  132.     void EndInPlaceEdit();
  133.     long GetEditHWND();
  134.     CPVIBranch HitTest(long x, long y);
  135.     short GetTabPoint(short index);
  136.     void SetTabPoint(short index, short nNewValue);
  137.     long GetStandardLevelPicture(short Level);
  138.     void SetStandardLevelPicture(short Level, long nNewValue);
  139.     CPicture GetCustomLevelPicture(short Level);
  140.     void SetRefCustomLevelPicture(short Level, LPDISPATCH newValue);
  141.     CString GetDataField(long nIndex);
  142.     void SetDataField(long nIndex, LPCTSTR lpszNewValue);
  143.     void AboutBox();
  144. };
  145.  
  146. //{{AFX_INSERT_LOCATION}}
  147. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  148.  
  149. #endif // !defined(AFX_PVTREEVIEW3_H__162C4C31_36E1_11D2_9B3B_00400561D975__INCLUDED_)
  150.